package com.hbx.vo.res;

import com.hbx.vo.PublicUserVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/*
 * @Author:hbx
 *
 * */
@Data
public class ResDetailVo {

    @ApiModelProperty(value = "资源id")
    private Integer resId;

    @ApiModelProperty(value = "资源标题")
    private String resTitle;

    @ApiModelProperty(value = "资源说明")
    private String resDesc;

    @ApiModelProperty(value = "资源图片")
    private List<String> resImg;

    @ApiModelProperty(value = "发布时间")
    private Date resPushTime;

    @ApiModelProperty(value = "资源地址")
    private String resUrl;

    @ApiModelProperty(value = "是否加密、如何使用...")
    private String resUrlDesc;

    @ApiModelProperty(value = "标签")
    private List<String> resTags;

    @ApiModelProperty(value = "资源发布者")
    private PublicUserVo userVo;

    @ApiModelProperty(value = "资源视频地址")
    private String resVideoUrl;

    @ApiModelProperty(value = "资源文档地址")
    private List<DocVo> docVoList;

    @ApiModelProperty(value = "资源分类")
    private ResTypeVo type;

    @Data
    public static class DocVo{
        private String title;
        private String resDocUrl;
    }
}
